<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><?php include template('phpcms','header_lvmao'); ?>

<div class="box" style=" height:42px; background-image:url(/Img/info_b5.gif); width:950px; line-height:34px; font-size:12px;">
<a style="width:250px; display:block; float:left;" href="/info/">&nbsp;</a>
<div style="width:690px; float:left;">
<span style="color:#ffffff;font-weight:bold;"><?php echo $catname;?> &nbsp; >></span>
<?php $subcats = subcat('phpcms', $CATEGORY[$catid][catid], 0);?>
<?php if(is_array($subcats)) foreach($subcats AS $cat) { ?>
<a href="<?php echo $cat['url'];?>" style="color:#FFFFFF; ">&nbsp; <?php echo $cat['catname'];?></a>
<?php } ?>
</div>
</div>


<div class="box" style=" margin-top:0px;">
<div style="width:318px; float:left; background-image:url(/Img/info_b6.gif); background-repeat:no-repeat;">
<div style="width:308px; overflow:hidden; margin-left:10px;"><?php echo tag('phpcms', 'tag_content_slide', "SELECT a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=7 AND a.status=99   AND  `thumb`!=''  ORDER BY a.contentid DESC", 0, 5, array (  'class' => 'url',  'target' => '_blank',  'width' => '310',  'height' => '268',));?></div>

<div class="infobox1">
<a href="#" class="title">热点新闻</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc1 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT c.contentid,c.catid,c.typeid,c.areaid,c.title,c.style,c.thumb,c.keywords,c.description,c.userid,c.updatetime,c.inputtime,c.url,n.hits FROM `zzinfo_content` c,`zzinfo_content_count` n WHERE  c.contentid=n.contentid AND c.`status`=99 ".get_sql_catid($catid)." ORDER BY n.hits DESC", 0, 10, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '46',));?>
</div>

<div class="infobox1">
<a href="#" class="title">图片新闻</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc1 infolist1">
<?php echo tag('phpcms', 'tag_content_pic', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `zzinfo_content` WHERE  status=99   AND  `thumb`!='' ".get_sql_catid($catid)." ORDER BY contentid DESC", 0, 9, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '12',  'height' => '80',  'width' => '120',));?>
</div>

<div class="infobox1">
<a href="#" class="title">近期关注</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc1 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=11 AND a.status=99  ".get_sql_catid($catid)." ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>
</div>

<div style="width:360px; margin-left:12px; float:left;">
<?php include PHPCMS_ROOT.'../cmsblock/class_'.$catid.'.shtml'; ?>
<?php if(is_array($subcats)) foreach($subcats AS $CATEGORY[$catid][catid] => $cat) { ?>
<div class="infobox2">
<a href="<?php echo $cat['url'];?>" class="title"><?php echo $cat['catname'];?></a>
<a href="<?php echo $cat['url'];?>" class="more">更多>></a>
</div>
<div class="infoc2 infolist2">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=6 AND a.status=99  ".get_sql_catid($CATEGORY[$catid][catid])." ORDER BY a.contentid DESC", 0, 8, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '50',));?>
</div>
<?php } ?>
<div class="cle">&nbsp;</div>
</div>

<div style="width:252px; margin-left:7px; float:left; overflow:hidden;">
<img src="/img/p3.gif" width="250" style="border:1px #999999 solid; margin-top:2px;" />

<div class="infobox3">
<a href="#" class="title">政策</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc3 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=10 AND a.status=99  ".get_sql_catid($catid)." ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>

<div class="infobox3">
<a href="#" class="title">投票</a>
</div>
<div class="infoc3">
<script language='javascript' src='http://localhost/info/vote/vote.php?voteid=2&action=js&template=vote_vote_submit'></script>
</div>
<img src="/img/p4.gif" width="250" height="222" style="border:1px #999999 solid; margin-top:6px;" />
<div class="infobox3">
<a href="#" class="title">展会</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc3 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=8 AND a.status=99  ".get_sql_catid($catid)." ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>
<div class="infobox3">
<a href="#" class="title">科普</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc3 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=9 AND a.status=99  ".get_sql_catid($catid)." ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>
</div>
<div class="cle">&nbsp;</div>
</div>

<?php include PHPCMS_ROOT.'../include/foot.shtml'; ?>